[INFO] cloning repository https://github.com/NenX/codecrafters-interpreter-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NenX/codecrafters-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNenX%2Fcodecrafters-interpreter-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNenX%2Fcodecrafters-interpreter-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c2b54400a02041e4033a6be26be7bb6c6c622b6
[INFO] fixing NenX/codecrafters-interpreter-rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNenX%2Fcodecrafters-interpreter-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NenX/codecrafters-interpreter-rust
[INFO] finished tweaking git repo https://github.com/NenX/codecrafters-interpreter-rust
[INFO] tweaked toml for git repo https://github.com/NenX/codecrafters-interpreter-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NenX/codecrafters-interpreter-rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NenX/codecrafters-interpreter-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479
[INFO] running `Command { std: "docker" "start" "89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking anstream v0.6.17
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]     Checking codecrafters-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/error/mod.rs (3 fixes)
[INFO] [stderr]        Fixed src/evaluator/error.rs (2 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/environment.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         self.ancestor(distance).borrow_mut().get(name)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this temporary value will be dropped at the end of the block
[INFO] [stdout]    |         a temporary with access to the borrow is created here ...
[INFO] [stdout] 79 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Environment>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let x = self.ancestor(distance).borrow_mut().get(name); x
[INFO] [stdout]    |         +++++++                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/environment.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         self.ancestor(distance).borrow_mut().assign(name, value)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this temporary value will be dropped at the end of the block
[INFO] [stdout]    |         a temporary with access to the borrow is created here ...
[INFO] [stdout] 90 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Environment>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let x = self.ancestor(distance).borrow_mut().assign(name, value); x
[INFO] [stdout]    |         +++++++                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/environment.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         self.ancestor(distance).borrow_mut().get(name)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this temporary value will be dropped at the end of the block
[INFO] [stdout]    |         a temporary with access to the borrow is created here ...
[INFO] [stdout] 79 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Environment>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let x = self.ancestor(distance).borrow_mut().get(name); x
[INFO] [stdout]    |         +++++++                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/environment.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         self.ancestor(distance).borrow_mut().assign(name, value)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this temporary value will be dropped at the end of the block
[INFO] [stdout]    |         a temporary with access to the borrow is created here ...
[INFO] [stdout] 90 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, Environment>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let x = self.ancestor(distance).borrow_mut().assign(name, value); x
[INFO] [stdout]    |         +++++++                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/aa.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |                                ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |                                ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/shunting-yard.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/pratt.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.97s
[INFO] [stderr] crater-edition-check: codecrafters-interpreter v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking codecrafters-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HAD_ERROR`
[INFO] [stdout]  --> src/lox.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 |     error::{had_error, MyResult, HAD_ERROR},
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InstanceValue`
[INFO] [stdout]  --> src/data_types/scaler/function_value/user_function.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     data_types::scaler::{InstanceValue, Scalar},
[INFO] [stdout]   |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HAD_ERROR`
[INFO] [stdout]  --> src/lox.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 |     error::{had_error, MyResult, HAD_ERROR},
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InstanceValue`
[INFO] [stdout]  --> src/data_types/scaler/function_value/user_function.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     data_types::scaler::{InstanceValue, Scalar},
[INFO] [stdout]   |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `callable::Callable`
[INFO] [stdout]  --> src/evaluator/eval_expr.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     callable::Callable,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `met_dot` is assigned to, but never used
[INFO] [stdout]    --> src/scanner.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut met_dot = false;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_met_dot` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `met_dot` is never read
[INFO] [stdout]    --> src/scanner.rs:207:21
[INFO] [stdout]     |
[INFO] [stdout] 207 |                     met_dot = true;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enclosing_env`
[INFO] [stdout]   --> src/evaluator/eval_stmt.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let enclosing_env = self.env.clone();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enclosing_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/stmt/block.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let a = [1, 2, 3];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/token_display.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |             IDENTIFIER(s) => write!(f, "IDENTIFIER {} null", lexeme,),
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `evaluator`
[INFO] [stdout]   --> src/data_types/scaler/function_value/native_function.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn call(&self, evaluator: &mut Evaluator, args: Vec<Scalar>) -> InterpretResult<Scalar> {
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evaluator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `callable::Callable`
[INFO] [stdout]  --> src/evaluator/eval_expr.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     callable::Callable,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/data_types/scaler/function_value/native_function.rs:17:47
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn call(&self, evaluator: &mut Evaluator, args: Vec<Scalar>) -> InterpretResult<Scalar> {
[INFO] [stdout]    |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]   --> src/ast_printer.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Expr::Variable(variable) => todo!(),
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `assign`
[INFO] [stdout]   --> src/ast_printer.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Expr::Assign(assign) => todo!(),
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logical_expr`
[INFO] [stdout]   --> src/ast_printer.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Expr::Logical(logical_expr) => todo!(),
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `call_expr`
[INFO] [stdout]   --> src/ast_printer.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Expr::Call(call_expr) => todo!(),
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `get_expr`
[INFO] [stdout]   --> src/ast_printer.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Expr::Get(get_expr) => todo!(),
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set_expr`
[INFO] [stdout]   --> src/ast_printer.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Expr::Set(set_expr) => todo!(),
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this_expr`
[INFO] [stdout]   --> src/ast_printer.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Expr::This(this_expr) => todo!(),
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `super_expr`
[INFO] [stdout]   --> src/ast_printer.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |             Expr::Super(super_expr) => todo!(),
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_super_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/lox.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Lox {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn run(b: Bytes) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_same_type` is never used
[INFO] [stdout]   --> src/data_types/scaler/mod.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Scalar {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub(crate) fn is_same_type(left: &Self, other: &Self) -> bool {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/error/mod.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         e.downcast::<std::io::Error>();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = e.downcast::<std::io::Error>();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `met_dot` is assigned to, but never used
[INFO] [stdout]    --> src/scanner.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut met_dot = false;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_met_dot` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `met_dot` is never read
[INFO] [stdout]    --> src/scanner.rs:207:21
[INFO] [stdout]     |
[INFO] [stdout] 207 |                     met_dot = true;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enclosing_env`
[INFO] [stdout]   --> src/evaluator/eval_stmt.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let enclosing_env = self.env.clone();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enclosing_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/token_display.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |             IDENTIFIER(s) => write!(f, "IDENTIFIER {} null", lexeme,),
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `evaluator`
[INFO] [stdout]   --> src/data_types/scaler/function_value/native_function.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn call(&self, evaluator: &mut Evaluator, args: Vec<Scalar>) -> InterpretResult<Scalar> {
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evaluator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/data_types/scaler/function_value/native_function.rs:17:47
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn call(&self, evaluator: &mut Evaluator, args: Vec<Scalar>) -> InterpretResult<Scalar> {
[INFO] [stdout]    |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]   --> src/ast_printer.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Expr::Variable(variable) => todo!(),
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `assign`
[INFO] [stdout]   --> src/ast_printer.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Expr::Assign(assign) => todo!(),
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logical_expr`
[INFO] [stdout]   --> src/ast_printer.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Expr::Logical(logical_expr) => todo!(),
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `call_expr`
[INFO] [stdout]   --> src/ast_printer.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Expr::Call(call_expr) => todo!(),
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `get_expr`
[INFO] [stdout]   --> src/ast_printer.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Expr::Get(get_expr) => todo!(),
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set_expr`
[INFO] [stdout]   --> src/ast_printer.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Expr::Set(set_expr) => todo!(),
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `this_expr`
[INFO] [stdout]   --> src/ast_printer.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Expr::This(this_expr) => todo!(),
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `super_expr`
[INFO] [stdout]   --> src/ast_printer.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |             Expr::Super(super_expr) => todo!(),
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_super_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Visit` is never used
[INFO] [stdout]   --> src/lib.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | trait Visit<T = ()> {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrintVisit` is never constructed
[INFO] [stdout]   --> src/lib.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct PrintVisit;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Base` is never used
[INFO] [stdout]   --> src/lib.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | trait Base {
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Aa` is never constructed
[INFO] [stdout]   --> src/lib.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Aa {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bb` is never constructed
[INFO] [stdout]   --> src/lib.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct Bb {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/lox.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Lox {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn run(b: Bytes) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_same_type` is never used
[INFO] [stdout]   --> src/data_types/scaler/mod.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Scalar {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub(crate) fn is_same_type(left: &Self, other: &Self) -> bool {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/error/mod.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         e.downcast::<std::io::Error>();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = e.downcast::<std::io::Error>();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let res = Lox::run_file(file, resolver);
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |                                ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let res = Lox::run_file(file, resolver);
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |             HAD_RUNTIME_ERROR, HAD_ERROR
[INFO] [stdout]    |                                ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `codecrafters-interpreter` (bin "codecrafters-interpreter") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `codecrafters-interpreter` (bin "codecrafters-interpreter" test) due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/bin/pratt.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let s = expr("1 * 2 - 3");
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479", kill_on_drop: false }`
[INFO] [stdout] 89a30f10b476b51423c3d336c06f3dafa5f849fba72910926cf999acf8269479
